<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html>
<head>
    <%@include file="common/head.jspf" %>
    <title>商家管理</title>
    <script src="js/pages/admin/shoplist.js"></script>
    <script id="tmpl" type="text/template">
        <tr>
            <td>
                <a class="shop-detail" href="javascript:void(0);" data-id="{{=id}}">{{=name}}</a>
            </td>
            <td>{{=description}}</td>
            <td>{{=location}}</td>
            <td>{{=credit}}</td>
            <td>{{=ordersum}}</td>
            <td>{{=rate}}</td>
        </tr>
    </script>
</head>
<body>
<%@include file="common/navbar.jspf" %>
<div class="container">
    <div class="row">
        <div class="col-md-3">
            <%@include file="common/sidebar.jspf" %>
        </div>
        <div class="col-md-9">
            <div class="panel panel-default">
                <div class="panel-heading clearfix">
                    <div class="col-xs-4">商户列表</div>
                    <div class="col-xs-offset-3 col-xs-5">
                        <input type="text" id="shopname" placeholder="商户名称搜索"/>
                        <button class="btn btn-sm btn-info" id="searchbtn"><i class="icon-search"></i> 搜索</button>
                    </div>
                </div>
                <table class="table table-bordered table-striped">
                    <thead>
                    <tr>
                        <th>名称</th>
                        <th>描述</th>
                        <th>地址</th>
                        <th>现有积分</th>
                        <th>交易量</th>
                        <th>评分</th>
                    </tr>
                    </thead>
                    <tbody id="shop-list"></tbody>
                </table>
            </div>
            <div id="page"></div>
        </div>
    </div>
</div>

<%@include file="common/dialog.jspf"%>

</body>
</html>
